package kr.hkit.powerjava.chapter26;

import java.sql.Connection;
import java.util.Scanner;
import kr.hkit.powerjava.chapter26.common.ConnectionFactory;
import kr.hkit.powerjava.chapter26.common.DBUtil;
import kr.hkit.powerjava.chapter26.dto.Employee;
import kr.hkit.powerjava.chapter26.service.AbsService;
import kr.hkit.powerjava.chapter26.service.EmployeeService;

public class TestEmployee {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Connection connection = ConnectionFactory.getConnection();
		
		AbsService<Employee> empSvc = new EmployeeService(sc, connection);
		empSvc.prnMenu();
		
	}
}
